<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
    var x=v=>v*v;
    console.log(typeof x);
    console.log(x(6));
    var ri=()=>Math.floor(Math.random()*100);
    console.log(ri());
    var x2=(n1,n2)=>{
        return parseInt((n1+n2)*2);
    }
    console.log(x2(18,28));
    function foo()
    {
        setTimeout(()=>{console.log(this)},1000);

        setTimeout(function(){
            console.log(this);
        },1000)
    }
    foo();
    </script>
</body>
</html>